const columns=[
    {
        label: "ID",
        field: "id",
        type: "number",
        isId: true,
        isSearch: true,
        isEdit: false,
        searchSetting: {
            // 操作编码
            operatorCode: "eq",
        }
    },
    {
        label: "图标",
        field: "fileIdOfIcon",
        type: "img",
        width: "100px",
        isEdit: true,
        isSearch: false,
        isAdd: true,
        setting: {
            type: "id",
            groupCode: "talentSkillLevel",
        }
    },

//
//     /**
//      * 名称
//      */
// @Column(name = "t_name")
//     private String name;
//
// /**
//  * 是否参与名次
//  * 管理后台如果是否：就显示`此奖项无排名`
//  */
// @Column(name = "is_has_rank")
// private Boolean isHasRank;
//
// /**
//  * 是否参与等次
//  * 管理后台如果是否：就显示`此奖项无等次`
//  */
// @Column(name = "is_has_grade")
// private Boolean isHasGrade;
//
// /**
//  * 描述
//  */
// @Column(name = "description")
// private String description;
    {
        label: "名称",
        field: "name",
        type: "text",
        width: "200px",
        isEdit: true,
        isSearch: true,
        isAdd: true,
        searchSetting: {
            operatorCode: "vague",
        }
    },
    {
        label: "是否参与名次",
        field: "isHasRank",
        type: "enum",
        width: "200px",
        isEdit: true,
        isSearch: true,
        isAdd: true,
        enumList: [
            {
                label: "是",
                value: true,
            },
            {
                label: "否",
                value: false,
            },
            {
                label: "否",
                value: null,
            }
        ]
    },
    {
        label: "是否参与等次",
        field: "isHasGrade",
        type: "enum",
        width: "200px",
        isEdit: true,
        isSearch: true,
        isAdd: true,
        enumList: [
            {
                label: "是",
                value: true,
            },
            {
                label: "否",
                value: false,
            },
            {
                label: "否",
                value: null,
            }
        ]
    },
    {
        label: "描述",
        field: "description",
        type: "text",
        width: "200px",
        isEdit: true,
        isSearch: true,
        isAdd: true,
        searchSetting: {
            operatorCode: "vague",
        }
    },

{
        label: "创建时间",
        field: "gmtCreate",
        type: "datetime",
        width: "200px",
        // 是否可编辑
        isEdit: false,
        isSearch: true,
        isAdd: false,
        setting: {
            format: "YYYY-MM-DD hh:mm:ss"
        }
    }
]

export default columns